import requests

# data = "{"CRIM": 0.00632, "ZN": 18.0, "INDUS": 2.30, "CHAS": 0.0, "NOX": 0.538, "RM": 6.575, "AGE": 65.2, "DIS": 4.09, "RAD": 1.0, "TAX": 296.0, "PTRATIO": 15.3, "B": 396.9, "LSTAT": 4.98}"
data1 = '{"CRIM": 0.02729, "ZN": 0.0, "INDUS": 7.07, "CHAS": 0.0, "NOX": 0.469, "RM": 7.185, "AGE": 61.1, "DIS": 4.9671, "RAD": 2.0, "TAX": 242.0, "PTRATIO": 17.8, "B": 392.83, "LSTAT": 4.03}'
url = "http://127.0.0.1:5000/pred"
response = requests.post(url, json=data1)
print(response.text)
